/*
* @Author: wanghongfucoder
* @Date:   2017-03-09 10:11:22
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-03-09 10:13:49
*/

public class Stock {

	private  String name="abc";
	private int quantity=10;

	public void buy(){
		System.out.println("Stock [ Name: "+name+", Quantity: "+quantity+" ] bought" );
	}

	public void sell(){
		System.out.println("Stock [ Name: "+name+", Quantity: "+quantity+" ] sold" );
	}
}